From 0a888ca939e04c708de47a802df36a803c52fff0 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Mon, 5 Sep 2005 08:21:58 +0000 Subject: [PATCH] Suspend console after xenbus, resume console before xenbus. Signed-off-by: Christian Limpach --- linux-2.6-xen-sparse/arch/xen/kernel/reboot.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c index af06ae5a58..49164498ab 100644 --- a/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c +++ b/linux-2.6-xen-sparse/arch/xen/kernel/reboot.c @@ -172,10 +172,10 @@ static int __do_suspend(void *ignore) smp_suspend(); #endif - xencons_suspend(); - xenbus_suspend(); + xencons_suspend(); + ctrl_if_suspend(); irq_suspend(); @@ -217,10 +217,10 @@ static int __do_suspend(void *ignore) ctrl_if_resume(); - xenbus_resume(); - xencons_resume(); + xenbus_resume(); + #ifdef CONFIG_SMP smp_resume(); #endif -- 2.30.2